package com.wlwk;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;

import java.time.LocalDate;
import java.time.LocalTime;

@SpringBootApplication
@EnableCaching
@EnableAsync
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
public class WlwkApplication {

    private static Logger log = LoggerFactory.getLogger(WlwkApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(WlwkApplication.class, args);

        log.info("《《《《《《  SUCCESS {} {} 》》》》》》", LocalDate.now(), LocalTime.now());
    }
}
